@font-face {
    font-family: consola;
    src: url("./consola.ttf");
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #ddd;
}

.fade-enter-active {
    transition: all 0.3s ease;
}

.fade-leave-active {
    transition: all 0.3s ease;
}

.fade-enter {
    /* transform: translateY(-50px); */
    height: auto;
    opacity: 0;
}

.fade-leave-to {
    transform: translateY(-50px);
    height: 0;
    opacity: 0;
}

.tree-folder-name {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    position: relative;
}

.tree-folder-name:hover {
    background-color: #f0f0f0;
}

.tree-folder-name i {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 0px;
    top: 0;
    transition: all 0.3s;
    text-align: center;
    line-height: 30px;
}

.tree-folder-name i.el-icon-download {
    right: 10px;
    left:auto;
    cursor: pointer;
    display: none;
}

.tree-folder-name:hover i.el-icon-download {
    display: block;
}


.tree-folder-name.active i {
    transform: rotateZ(90deg);
}

.tree-folder-name span {
    color: #666;
    position: absolute;
    height: 30px;
    left: 30px;
    right: 45px;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tree-folder-children {
    overflow: hidden;
}

.tree-file {
    font-size: 14px;
    height: 30px;
    position: relative;
    line-height: 30px;
    cursor: pointer;
}

.tree-file:hover {
    background-color: #f0f0f0;
}

.tree-file.active {
    background-color: rgba(0, 206, 209, 0.2);
}

.tree-file .el-tag {
    display: inline-block;
    width: 50px;
    text-align: center;
    margin: 0 0 0 20px;
}

.tree-file span.tree-file-name {
    color: #333;
    position: absolute;
    left: 80px;
    right: 0;
    top: 0;
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.CodeMirror {
    font-family: consola !important;
    font-size: 14px!important
}

.CodeMirror {
    border: 1px solid #eee;
    height: auto;
    min-height: 100px;
}

.CodeMirror-scroll {
    height: auto;
    min-height: 100px;
    overflow-y: hidden;
    overflow-x: auto;
}

.textarea-item {
    position: relative;
}

.textarea-item .Tools {
    z-index: 50;
    position: absolute;
    top: 25px;
    right: 5px
}